package org.dromara.web.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import org.dromara.system.domain.TQuestion;
import org.dromara.web.domain.TSurvey;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 问卷表单视图对象 t_survey
 *
 * @author Lion Li
 * @date 2024-10-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TSurvey.class)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TSurveyVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 表单ID
     */
    @ExcelProperty(value = "表单ID")
    private Integer surveyId;

    /**
     * 表单名
     */
    @ExcelProperty(value = "表单名")
    private String title;

    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    private String description;

    /**
     * 是否启用
     */
    @ExcelProperty(value = "是否启用")
    private Long enable;

    private List<TQuestion> tQuestions;


}
